package com.py.credit.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.py.framework.core.common.Page;

public interface CreditSearchDao {
	
	Map<String, Object> getModelByOffice(@Param(value = "ywId")String ywId,@Param(value = "deptId")Long deptId,@Param(value = "ztType")String ztType);
	
	 List<Map<String, Object>> selectByConditionForPage(
			@Param(value = "modelId") String modelId,
			@Param(value = "showScore") Double showScore,
			@Param(value = "columns") List<String> columns,
			@Param(value = "additionalColumns") String[] additionalColumns,
			@Param(value = "conditions") List<String> conditions, 
			@Param(value = "page") Page page);
	
	 List<Map<String, Object>> select2ByConditionForPage(
			@Param(value = "showScore") Double showScore,
			@Param(value = "columns") List<String> columns,
			@Param(value = "additionalColumns") String[] additionalColumns,
			@Param(value = "conditions") List<String> conditions,
			@Param(value = "page") Page page);
	
	 List<String> getBumeng(@Param(value = "ywId") String ywId , @Param(value = "mainType") String mainType);
}